home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2001 #11 / CD 11 (Black) - 2001.iso / FAVORG / FAVO_SRC.ZIP / treectrledit.h < prev   
Encoding:
C/C++ Source or Header  |  2000-10-25  |  1.5 KB  |  64 lines

  1. // FAVORG Version 1.1
  2. // Copyright (c) 2000 Ziff Davis Media, Inc.
  3. // All rights reserved.
  4. // First Published in PC Magazine, US Edition, November 7, 2000.
  5. // Programmer: Patrick Philippot
  6.  
  7. #if !defined(AFX_TREECTRLEDIT_H__C4E8B186_4A66_11D4_904B_00A0249EABF4__INCLUDED_)
  8. #define AFX_TREECTRLEDIT_H__C4E8B186_4A66_11D4_904B_00A0249EABF4__INCLUDED_
  9.  
  10. #if _MSC_VER > 1000
  11. #pragma once
  12. #endif // _MSC_VER > 1000
  13. // TreeCtrlEdit.h : header file
  14. //
  15.  
  16. #include "stdafx.h"
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CTreeCtrlEdit window
  20.  
  21. class CTreeCtrlEdit : public CEdit
  22. {
  23. // Construction
  24. public:
  25.     CTreeCtrlEdit();
  26.  
  27. // Attributes
  28. public:
  29.  
  30. private:
  31.     HTREEITEM    m_hCurItem;
  32.     CTreeCtrl*    m_pTreeCtrl;
  33.  
  34. // Operations
  35. public:
  36.  
  37. // Overrides
  38.     // ClassWizard generated virtual function overrides
  39.     //{{AFX_VIRTUAL(CTreeCtrlEdit)
  40.     public:
  41.     virtual BOOL PreTranslateMessage(MSG* pMsg);
  42.     //}}AFX_VIRTUAL
  43.  
  44. // Implementation
  45. public:
  46.     virtual ~CTreeCtrlEdit();
  47.     void    SetCurItem(HTREEITEM hItem);
  48.     void    SetTreeCtrl(CTreeCtrl* pTreeCtrl);
  49.  
  50.     // Generated message map functions
  51. protected:
  52.     //{{AFX_MSG(CTreeCtrlEdit)
  53.     //}}AFX_MSG
  54.  
  55.     DECLARE_MESSAGE_MAP()
  56. };
  57.  
  58. /////////////////////////////////////////////////////////////////////////////
  59.  
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  62.  
  63. #endif // !defined(AFX_TREECTRLEDIT_H__C4E8B186_4A66_11D4_904B_00A0249EABF4__INCLUDED_)
  64.